-
Home
-
StoreKeeper for WooCommerce
-
14.0.5
-
Code
-
Classes
- Media
Total Complexity |
61 |
Dependencies |
12 |
Dependents |
5 |
Total lines |
487 |
Lines of code |
318 |
Logical lines of code |
173 |
Comment lines |
65 |
Methods |
19 |
Properties |
0 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
createAttachment() |
A |
42 |
8 |
49 |
calculateImageSrcSet() |
A |
51 |
8 |
25 |
downloadFile() |
S |
49 |
6 |
29 |
getImageScaleVariantString() |
S |
54 |
6 |
20 |
tryDownloadFile() |
S |
54 |
5 |
21 |
createAttachmentUsingCDN() |
S |
48 |
4 |
31 |
getAttachmentIdsByUrls() |
S |
53 |
3 |
23 |
fixUrl() |
S |
61 |
3 |
12 |
getAttachmentImageSource() |
S |
61 |
3 |
11 |
createImageMeta() |
S |
54 |
2 |
23 |
getAttachmentId() |
S |
57 |
2 |
16 |
ensureAttachment() |
S |
69 |
2 |
7 |
getAttachmentUrl() |
S |
71 |
2 |
6 |
cleanAttachmentUrl() |
S |
63 |
2 |
9 |
getAttachmentByCdnUrl() |
S |
61 |
1 |
12 |
getAttachment() |
S |
61 |
1 |
12 |
attachmentExists() |
S |
75 |
1 |
4 |
hasUploadDirectory() |
S |
71 |
1 |
5 |
isAttachmentCdn() |
S |
78 |
1 |
3 |